package org.codegallery.javagal.xml.stax;

import org.codegallery.javagal.Constants;

import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamReader;
import java.io.FileInputStream;

/**
 * Created by IntelliJ IDEA.
 * User: gongwenwei
 * Date: 11-10-18
 * Time: 上午9:54
 * To change this template use File | Settings | File Templates.
 */
public class SampStax {
    public static  void main(String[] args){

    }

    public void test() throws Exception{
        FileInputStream fileInputStream =
        new FileInputStream(Constants.TEST_RES_DIR+"\\xsltsample\\sample1.xml");
        XMLStreamReader xmlStreamReader =
        XMLInputFactory.newInstance().
            createXMLStreamReader(fileInputStream);
    }
}
